home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1993 / MacHack 1993.toast / MacHack™ 1987-1992 / MacHack™ '90 / Other Stuff / Demos ƒ / Demo AppMaker / Demo AppMaker™ / Demo AppMaker™.rsrc / TmCT_1005_StatText < prev    next >
Encoding:
Text File  |  1990-03-23  |  529 b   |  29 lines

  1. %case include%
  2.     #include <CLabelText.h>
  3. %case instance%
  4.     CLabelText        *%itemname%;
  5. %case create%
  6.     
  7.     %itemname% = new (CLabelText);
  8.     %itemname%->IViewRes ('LbTx', %paneID%, enclosure, supervisor);
  9. %case itemNr%
  10.     %DefineItem%
  11. %case dialog field%
  12.     %if variable%
  13.         Str255%        %%fieldname%;
  14.         %haveField%
  15.     %end if%
  16. %case init field%
  17.     %if variable%
  18.         info->%fieldname% [0] = 0;
  19.     %end if%
  20. %case auxiliary%
  21. %case filter%
  22. %case set%
  23.     %if variable%
  24.         SetDText (%itemname%, info->%fieldname%);
  25.     %end if%
  26. %case enable%
  27. %case hit%
  28. %case finish%
  29.